#ifndef __APP_FLIGHT_H__
#define __APP_FLIGHT_H__
#include "Int_Motor.h"
#include "FreeRTOS.h"
#include "task.h"
#include "Int_MPU6050.h"
#include "Com_Filter.h"
#include "Com_IMU.h"
#include "Com_PID.h"
#define LIMIT(x, min, max) ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))

void App_Flight_GetGyroAccel(GyroAccel_Struct *gyro_accel);

void App_Flight_SetMotorSpeed(Flight_Status status, Remote_Struct *remote_data);

void App_Flight_GetEulerAngle(GyroAccel_Struct *gyroAccel, EulerAngle_Struct *eulerAngle, float dt);

void App_Flight_AttitudePID(GyroAccel_Struct *gyroAccel, EulerAngle_Struct *eulerAngle, Remote_Struct *remote_data, float dt);


#endif /* __APP_FLIGHT_H__ */